package com.josephxu.tank.abstractfactory;

import com.josephxu.tank.Tank;

import java.awt.*;

/**
 * @Author: Joseph Xu
 * @Date: 2022/1/30 14:37
 */
public abstract class BaseBullet {

    public abstract void paint(Graphics g);

    public abstract void collideWith(Tank tank);
}
